home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni & Inventori
/
Invenzioni and Inventori (Eclectica Publishing) (1996).ISO
/
invenzio
/
tori
/
sharedi.cst
/
03013_Script_3013
< prev
next >
Wrap
Text File
|
1983-01-27
|
2KB
|
58 lines
--on video PARAMETRI VIDEO
---QCAST = NUMERO DEL CAST DEL VIDEO
---QSPRITE=NUMERO DELLO SPRITE DEL VIDEO
---QSPRITEL=NUMERO DELLO SPRITE DELLA LINEA
---QSPRITEB=NUMERO DELLO SPRITE DELLA BARRA
on video qcast,qsprite,qspritel,qspriteb
global vidstat,tuttos,unita
--------------BLOCCA IL CUBETTO QUANDO SI ENTRA NEL FRAME
global qvolte_video
if voidp(qvolte_video) then set qvolte_video to false
if not qvolte_video then
set the movierate of sprite 47 to 0
set qvolte_video to true
updatestage
end if
if the castnum of sprite qsprite <> qcast then exit
----------------------PORTA IL CURSORINO ALLA FINE
if the movieTime of sprite qsprite = the duration of cast qcast then
set the loch of sprite qspritel to (the right of sprite qspriteb - the width of sprite qspritel)
end if
--------------------
if not tuttos then
if vidstat <> "manuale" then
if the movieTime of sprite qsprite = the duration of cast qcast then set vidstat to "stop"
if vidstat = "play" or vidstat = "avveloce" or vidstat = "inveloce" then
set unita to the duration of cast qcast / 320.0
if integer(the movieTime of sprite qsprite / unita) + the width of sprite qspritel < 320 then
set the loch of sprite qspritel to the loch of sprite qspriteb + integer(the movieTime of sprite qsprite / unita)
updatestage
end if
end if
end if
if vidstat = "inizio" then set the loch of sprite qspritel to the loch of sprite qspriteb
if vidstat = "play" or vidstat = "avveloce" or vidstat = "inveloce" then
if the movietime of sprite qsprite = the duration of cast qcast then
set the loch of sprite qspritel to (the right of sprite qspriteb - the width of sprite qspritel)
end if
end if
end if
----------ACCENDE IL VIDEO IN INGRESSO DEL FRAME
global gia_fatto
if the movieTime of sprite qsprite < 10 and the movieRate of sprite qsprite = 0 and gia_fatto = false then
set the video of member qcast to 0
set the video of member qcast to 1
set gia_fatto to true
end if
--------------------------
updatestage
end